package cn.virens.server.netty_tcp.handler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.virens.server.netty_tcp.packet.TcpReadPacket;

public abstract class PacketHandler {
	protected final Logger logger = LoggerFactory.getLogger(getClass());

	public abstract boolean can(int cmd);

	public abstract void handle(TcpReadPacket packet);
}
